package org.dromara.hotel.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.hotel.domain.TerHotels;

import java.io.Serial;
import java.io.Serializable;


/**
 * 酒店信息维护视图对象 ter_hotels
 *
 * @author xch
 * @date 2025-05-26
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TerHotels.class)
public class TerHotelsVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 酒店名称
     */
    @ExcelProperty(value = "酒店名称")
    private String hotelName;

    /**
     * 酒店地址
     */
    @ExcelProperty(value = "酒店地址")
    private String hotelAddress;

    /**
     * 描述
     */
    @ExcelProperty(value = "描述")
    private String description;

    /**
     * 酒店状态
     */
    @ExcelProperty(value = "酒店状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "yes_no_status")
    private Long hotelStatus;

    /**
     *
     */
    @ExcelProperty(value = "")
    private String hotelImg;

    /**
     * Url
     */
    @Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "hotelImg")
    private String hotelImgUrl;
    private String labelStr;
    private String city;
    private String latitude;
    private String longitude;
    private String hotelType;
    private String phone;
}
